<template>
  <div>
    <div id="box" contentEditable>我是p标签的内容</div>
		<button id="saveBtn">记录光标位置</button>
		<button id="restoreBtn">恢复光标位置</button>
  </div>
</template>
<script>
export default {
  data: () => ({})
}
</script>
<style lang="scss" scoped>
</style>